<?php
/**
 * 论坛版块控制器
 * Created		: 2012-10-23
 * Modified		: 2012-10-25
 * @link		: http://www.antbbs.com
 * @copyright	: (C) 2012 antbbs.com 
 * @author		: Joseph Chen (chenliq@gmail.com)
 */
class Controller_Area extends Controller
{
	/**
	 * 版块表
	 * @var string
	 */
	public $tbl = 'bbs_area';
	
	/**
	 * 列表
	 * @see Controller::index()
	 */
	public function index() 
	{
		$mo = new Model_Area();
		$options = array(
			'status'	=> 1
		);
		$arr = $mo->getList($options);
		$this->areaList = Arr::infinityCategory($arr);
// 		var_export($this->arealist);
		
	}
	
	/**
	 * 查看一个版块的内容
	 */
	public function view()
	{
		
	}
	
}